<?php
namespace haibao\cms\model\data\behavior;

class CommentCountMinuter extends \haibao\cms\model\data\Base{
	const IS_REG_NO = 0;
	const IS_REG_YES = 1;
	const IS_BACK_USER = 2;//灌水用户
	
	public $Time;
	public $Count = 0;
	public $Channel;
	public $CommentsType;
	public $IsReg;
	public $Source;
		
	public function __construct(){
		parent::__construct();
	
		$this->intField('Count', 'Count',true);
		$this->dateField('Time','Time',true);
		$this->intField('Channel','Channel',true);
		$this->stringField('CommentsType','CommentsType',true);
		$this->stringField('Source','Source',true);
		$this->intField('IsReg','IsReg',true);
		$this->setTableName('CommentCountMinuter');
	}
	
	public function setTableName($tableName){
		parent::setTableName($tableName);
	}
}

	